<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Bouncing Ball Animation</title>
    <style>
        body {
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #f0f0f0;
        }

        .black-strip {
            background-color: black;
            height: 100px;
            position: relative;
        }

        .ball {
            width: 50px;
            height: 50px;
            background-color: #1749bf; 
            border: 2px solid black; 
            border-radius: 50%;
            position: absolute;
            bottom: 0;
            animation: bounce 1s infinite alternate;
        }

        @keyframes bounce {
            0% {
                transform: translateY(0);
            }
            100% {
                transform: translateY(-50px);
            }
        }
    </style>
</head>

<body>
    <div class="black-strip">
        <div class="ball"></div>
    </div>
</body>

</html>
